Skip to content

fix(controlplane): use request context for CAS backend lookup in attestation init#2782

Merged
matiasinsaurralde merged 1 commit intochainloop-dev:mainfrom
matiasinsaurralde:fix/attestation-init-use-request-context-for-cas-backend
Feb 25, 2026
Merged

fix(controlplane): use request context for CAS backend lookup in attestation init#2782
matiasinsaurralde merged 1 commit intochainloop-dev:mainfrom
matiasinsaurralde:fix/attestation-init-use-request-context-for-cas-backend

Conversation

@matiasinsaurralde
Copy link
Contributor

Summary

  • Update AttestationService.Init to pass the incoming request context to CAS backend resolution.
  • Keep CAS backend selection behavior unchanged while preserving request-scoped cancellation, deadlines, and metadata propagation.
  • Improve consistency with the rest of the service layer by avoiding detached context usage in request handling.

…attestation init

Signed-off-by: Matías Insaurralde <matias@chainloop.dev>
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@matiasinsaurralde matiasinsaurralde merged commit 3f09320 into chainloop-dev:main Feb 25, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants